package com.bishe.bishe.dao.mapper;

import com.bishe.bishe.pojo.Unit;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;
import tk.mybatis.mapper.common.Mapper;

public interface UnitMapper extends Mapper<Unit> {
    @Select("select * from unit where unit_name = #{unitName}")
     Unit findByName(@Param("unitName") String unitName);


}
